// 根据id转换应用名称
 function _convertConstName (array, code, value, name) {
   if (code != null) {
     for (const type of array) {
       if (type[value] + '' === code + '') {
         return type[name]
       }
     }
   }
   return code
 }

 export default {
   convertConstName (array, code, value, name) {
     return _convertConstName(array, code, value, name)
   }
 }
// 获取级联选择的中文值
//  params.categoryIdStr = this.$refs["logCategory"].inputValue;
